<template>
    <div class="app_group_member">
        <div id="list">
            <router-link class="item" v-for="(item,index) in list" :key='index' :to="'/pages/group/subgroup?code='+item.code" :class="item.user_number>=10?'valid':''">
                <div class="name">{{item.personal_name}}-{{item.code}}-{{item.tel}}</div>
                <div class="count">下级用户:{{item.user_number}}下级群主:{{item.next_number}}</div>
            </router-link>
        </div>
    </div>
</template>

<script>
    var that
    export default {
        data () {
            return this.datainit({
                list:[]
            })
        },
        mounted: function () {
            that=this
            this.check()

        },
        methods: {
            user_init: function (_user) {
                that.$post("api/group/nextlists",null, function (_list) {
                    that.list=_list
                })
            },
        }
    }
</script>
<style lang="less" src="./main.less" scoped></style>
